from django.conf.urls.defaults import *
# from django.views.generic import DetailView

#from views import prodinfo_data, sewing, outlet, sales, reports

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^data/(?P<prod_position>[a-z]+)$', 'orgcontrol.prodinf.views.prodinf_data', name='prodinf_data'),
    url(r'^report/', 'orgcontrol.prodinf.views.prodinf_report', name='prodinf_report'),
    #url(r'^knitting/', knitting, name='knitting'),
    # url(r'^sewing/', sewing, name='sewing'),
    # url(r'^outlet/', outlet, name='outlet'),
    # url(r'^sales/', sales, name='sales',
    # url(r'^reports/', reports, name='reports'),

    # url(r'^network/$', ComputerListView.as_view(), name='computer_list'),
    # url(r'^network/(?P<pk>\d+)/$', ComputerDetailView.as_view(), name='computer_detail'),
    # url(r'^network/edit/(?P<pk>\d+)/$', ComputerUpdate.as_view(), name='computer_edit'),
    # url(r'^network/add/$', ComputerCreate.as_view(), name='computer_add'),
    # url(r'^network/del/$', ComputerDelete, name='computer_delete'),


)
